Connect the "destroy" signal so that the 'window' pointer is set back to
authorRyan Lortie <desrt@desrt.ca>
Fri, 29 Jun 2007 16:02:24 +0000 (16:02 +0000)
committerRyan Lortie <ryanl@src.gnome.org>
Fri, 29 Jun 2007 16:02:24 +0000 (16:02 +0000)
commite8e5af2d8cf5327bed9601572978478954580977
tree7c97b63265b30132db87c1bfafa6cee30c1be85f
parent41aaca420dfe37a2513c3c340e743d5d1d7c6a04
Connect the "destroy" signal so that the 'window' pointer is set back to

2007-06-29  Ryan Lortie  <desrt@desrt.ca>

        * tests/testgtk.c (create_composited_window): Connect the "destroy"
        signal so that the 'window' pointer is set back to NULL (like for the
        other examples).

        * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
        destroy the Damage here.  By finalize() XDestroyWindow has already
        been called (and took the Damage with it).

        Bug #452046.

svn path=/trunk/; revision=18290
ChangeLog
gdk/x11/gdkwindow-x11.c
tests/testgtk.c